package cn.wolfcode.domain;

import cn.wolfcode.enums.ActivityEnums;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Activity {
    /** */
    private Long id;

    /** 主题*/
    private String title;

    /** 类型(单选0/多选1/ 等等)*/
    private Integer type;

    /** 状态(1投票中/0停止投票)*/
    private Boolean status;

    public String getType(){
        return ActivityEnums.findName(this.type);
    }

}